[XEN][POWERPC] Fix IPI stall timeout without using timebase_freq
authorJimi Xenidis <jimix@watson.ibm.com>
Tue, 28 Nov 2006 23:46:13 +0000 (18:46 -0500)
committerJimi Xenidis <jimix@watson.ibm.com>
Tue, 28 Nov 2006 23:46:13 +0000 (18:46 -0500)
commit86ec3a9b477b95ff3acf1aa744932e0353047d41
tree0dcc612df5a3fe33a09d0357f56533476dde52cb
parent6d55b9c049cc654d601763c35f83c448fa21b32e
[XEN][POWERPC] Fix IPI stall timeout without using timebase_freq
When using the register dump feature of Xen, one will sometimes see a
message about an IPI finish stall.  This is because of an int to long
comparison bug, so fix it by doing proper nanosecond based time
accounting with no explicit reference to timebase_freq.
Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
--HG--
extra : transplant_source : .%90%9Do%2A%B7g%FEW%23%A9%7E/T%13%F8v%16r%96
xen/arch/powerpc/smp.c